package com.yonyou.pmclouds.safetyrectification.relationuser.service;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.safetyrectification.relationuser.entity.RelationUserVO;

import java.util.List;

/**
 * 安全整改-抄送人查询接口
 *
 * @author tanghuan
 * @date 2019/10/26
 */
public interface IRelationUserQuery {
    /**
     * 通过主键查询
     *
     * @param id
     * @return
     * @throws BusinessException
     */
    RelationUserVO getById(String id) throws BusinessException;

    /**
     * 通过单据查询抄送人
     *
     * @param pkBill
     * @return
     */
    List<RelationUserVO> getByPkBill(String pkBill) throws BusinessException;
}
